package com.lvcoding.cloud.api.feign;

import com.lvcoding.cloud.api.feign.factory.OrderFeignFallbackFactory;
import com.lvcoding.cloud.common.core.constant.CommonConstant;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

@FeignClient(name = CommonConstant.ORDER, fallbackFactory = OrderFeignFallbackFactory.class)
public interface OrderFeign {

    @GetMapping("order/nacos")
    String nacos();
}
